package com.example.admin.feign;

import com.usian.model.article.dtos.ApArticleDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "leadnews-article")
public interface ArticleFeign {
    @PostMapping
    Integer addArticle(@RequestBody ApArticleDto apArticleDto);
}
